@use "@/styles/variables"as *;

.#{$name}-gd {
    background-color: #f6f6f6;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 50px;

    &__h {
        width: 100%;
        margin-top: $side-padding;
        display: flex;
    }

    &__head {
        width: 100%;
        display: flex;
        background-color: $white;
    }

    &__nav-more {

        &__item {
            display: block;
            position: relative;
            border-bottom: 1px solid hsla(0, 0%, 100%, .2);
            line-height: 40px;

            color: #fff;

            &>a {
                display: block;
                border: 0;
                width: 100%;
                font-size: 14px;
                color: #fff;
                text-decoration: none;
            }
        }
    }

    &__sku-choose {
        font-size: 13px;
        background-color: $bg-white;
        border-radius: 12px;

        .#{$name}-list-item__content {
            font-size: 13px;
        }

    }


    &__buy-area {
        display: flex;
        flex-direction: column;
        justify-content: center;
        background-color: $white;
        overflow: hidden;
        padding: 0 $side-padding;

        .seal-price {
            font-size: 12px;
            font-weight: 700;
            line-height: 24px;
        }
    }

    &__price-warp {
        align-items: baseline;
        display: flex;
        flex-wrap: wrap;
        margin-top: 12px;
    }

    &__buy-info {
        padding: $side-padding 0;

        &-name {
            display: flex;

            &__text {
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                display: -webkit-box;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            &__tag {
                height: 13px !important;
                line-height: 13px !important;
                display: inline-block;
                margin-right: 5px;
            }

            &__tag>img {
                height: 100%;
            }
        }

        &-name__text {
            font-weight: 700;
            font-size: 16px;
            line-height: 21px;
            color: #262626;
        }
    }

    &-comment {
        background-color: $white;
        padding: 0 $side-padding;

        &-item {
            margin-left: -12px;
        }

        &-head {
            padding: 12px 0;
            display: flex;
            justify-content: space-between;
            position: relative;

            &__left::before {
                background-color: #f5503a;
                content: "";
                height: 15px;
                left: 0;
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                width: 3px;
            }

            &__left {
                display: flex;

                &__title {
                    font-weight: 700;
                    font-size: 15px;
                    padding-left: 8px;

                }


            }

            &__right {
                color: #999;
                display: flex;

                &__icon {
                    padding-left: 6px;
                    color: #222;
                    font-weight: bold;
                    font-size: 14px;
                }
            }
        }

        &-tags {
            &__ul {
                display: flex;
                flex-wrap: wrap;

            }

            &__item {
                background: #fcedeb;
                border-radius: 15px;
                margin: 0 12px 12px 0;
                padding: 5px 12px;
                font-size: 13px;
            }
        }
    }

    &__sku-choose {

        &-select {
            color: #262626;
            font-weight: 700;
            font-size: 13px;
        }

        &-title {
            color: #333;
            font-size: 13px;
        }

        &-notice {
            color: #999;
            font-size: 12px;

        }

    }

    &-service {
        display: flex;
        background-color: #fafafa;
        padding: 8px 12px;
        align-items: center;
        flex-direction: row;

        &-ul {
            display: flex;
            flex: 1;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            color: #262626;
            display: -webkit-box;
            font-size: 12px;
            overflow: hidden;
            padding-right: 20px;
            position: relative;
            text-overflow: ellipsis;

            &__item {
                color: #8c8c8c;
                display: inline-block;
                line-height: 1;
                padding: 0 5px 0 0;
            }
        }
    }

    &__desc {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #fff;

        &__title {
            font-weight: bold;
            line-height: 50px;
            font-size: 14px;
            text-align: center;

        }

        &__content {
            overflow: hidden;
            word-break: break-all;
        }
    }

    &-buy-bar {
        width: 100%;

        &__group {
            width: 218px;
            display: flex;
            border-radius: 20px;
        }
    }
}